package cn.waka.sys.admin.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import cn.waka.sys.admin.object.Result;

@RestController
public class AuthController extends BaseController {

    @RequestMapping(path = "/noauth")
    public @ResponseBody
    Result noAuth() {
        return error(0, "对不起，您没有操作权限！");
    }
}
